package com.yunji.coupon.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.coupon.doamin.CouponSiteDO;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/10/24 11:13
 * @description : TODO
 **/
public interface ICouponSiteDao extends IBaseDao<CouponSiteDO> {
    List<CouponSiteDO> listByTmplId(Long id);

    List<CouponSiteDO> getAvailableSites(Long siteId, List<Long> tmplIdList);

    List<CouponSiteDO> getAvailableSites(Long siteId, Long tmplId);

    void removeByTmpId(Long tmplId);
}
